<template>
	<view class="content">
		<u-navbar
		            @rightClick="rightClick"
		            :autoBack="true" 
					:bgColor="bgColor" leftIconColor="#fff">
					<view slot="center" style="color: #fff;">
						<text>相册详情</text>
					</view>
		</u-navbar>
		<view style="margin-top: 53px;">
			<view class="box" v-for="(box,boxIndex) in list" :key=boxIndex>
				<view class="box_item" v-for="(item1,index) in box.item" :key=index>
					<u-image :src="item1.img" radius="10px"  width="280rpx" height="180rpx"
						:fade="true" duration="450"></u-image>
					<view class="box_text">{{item1.text}}</view>
					<view class="box_text2">{{item1.text2}}</view>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				bgColor:'#009fe9',//导航栏背景颜色
				img:'https://img1.baidu.com/it/u=413643897,2296924942&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',
				list:[{
					item:[
						{img:'https://img1.baidu.com/it/u=413643897,2296924942&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',text:'桃源仙谷',text2:'桃源仙谷桃源仙谷桃源仙谷'},
						{img:'https://img1.baidu.com/it/u=413643897,2296924942&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',text:'桃源仙谷',text2:'桃源仙谷桃源仙谷桃源仙谷'},
						{img:'https://img1.baidu.com/it/u=413643897,2296924942&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',text:'桃源仙谷',text2:'桃源仙谷桃源仙谷桃源仙谷'},
						{img:'https://img1.baidu.com/it/u=413643897,2296924942&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',text:'桃源仙谷',text2:'桃源仙谷桃源仙谷桃源仙谷'}]
				},{
					item:[{img:'https://img1.baidu.com/it/u=413643897,2296924942&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',text:'桃源仙谷',text2:'桃源仙谷桃源仙谷桃源仙谷'},
					{img:'https://img1.baidu.com/it/u=413643897,2296924942&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',text:'桃源仙谷',text2:'桃源仙谷桃源仙谷桃源仙谷'},
					{img:'https://img1.baidu.com/it/u=413643897,2296924942&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',text:'桃源仙谷',text2:'桃源仙谷桃源仙谷桃源仙谷'},
					{img:'https://img1.baidu.com/it/u=413643897,2296924942&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500',text:'桃源仙谷',text2:'桃源仙谷桃源仙谷桃源仙谷'}]
				}]
			}
		},
		mounted() {
			
		},
		methods: {
			rightClick() {
			            console.log('rightClick');
			},
		}
	}
</script>

<style lang="scss">
	.content{
		background: #efefef;
		.box{
			width: 100%;
			background: #fff;
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			justify-content: space-evenly;
			margin-bottom: 10px;
			&_item{
				width: 40%;
				margin-top: 20rpx;
			}
			&_text{
				margin-top: 8rpx;
				color: black;
				font-size: 20rpx;
			}
			&_text2{
				width: 260rpx;
				color: #cccccc;
				margin-top: 4rpx;
				font-size: 18rpx;
			}
		}
	}
</style>
